package com.etlmaster.executor.steps.datax;

import com.etlmaster.executor.StepMeta;

/**
 * @author Larry
 * @copyright Larry@etlMaster
 * @since 2017-09-10
 */
public class HiveReaderStepMeta extends StepMeta {
	private String pluginName="hivereader";
	private String dsName;
	private String url;
	private String username;
	private String password;
	private String readMode;
	private String sql;
	private String reduceNumber;
	private String concurrency;
	

	public HiveReaderStepMeta(String id, String name,String step_code, String session_id, String paramStr) {
		super(id, name,step_code, session_id, paramStr);
	}

	@Override
	protected void loadParamsFromConfigTable() {
		// TODO Auto-generated method stub

	}

	public String getPluginName() {
		return pluginName;
	}

	public void setPluginName(String pluginName) {
		this.pluginName = pluginName;
	}

	public String getDsName() {
		return this.variableSubstitution(dsName);
	}

	public void setDsName(String dbName) {
		this.dsName = dsName;
	}

	public String getUrl() {
		return variableSubstitution(url);
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUsername() {
		return variableSubstitution(username);
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return variableSubstitution(password);
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getReadMode() {
		return readMode;
	}

	public void setReadMode(String readMode) {
		this.readMode = readMode;
	}

	public String getSql() {
		return this.variableSubstitution(sql);
	}

	public void setSql(String sql) {
		this.sql = sql;
	}

	public String getReduceNumber() {
		return this.variableSubstitution(reduceNumber);
	}

	public void setReduceNumber(String reduceNumber) {
		this.reduceNumber = reduceNumber;
	}

	public String getConcurrency() {
		return this.variableSubstitution(concurrency);
	}

	public void setConcurrency(String concurrency) {
		this.concurrency = concurrency;
	}
	

}
